import request from '@/utils/request'

const loginInfor = {

  /**
   *
   * @param page
   * @param query
   */
  listLoginInfor(page,query) {
    return request({
      url: 'admin/sys-login-info/page/' + page.current + '/' + page.size,
      method: 'get',
      params: query

    })
  },
  delLoginInfor(ids) {
    return request({
      url: 'admin/sys-login-info/remove/'+ ids,
      method: 'delete',

    })
  },
  cleanLoginInfor() {
    return request({
      url: 'admin/sys-login-info/clean',
      method: 'delete'

    })
  },
  exportLoginInfor(page,query) {
    return request({
      url: 'admin/sys-login-info/page/' + page.current + '/' + page.size,
      method: 'get',
      params: query

    })
  },
}
export default loginInfor
